package javabase.desginpattern.structure.decorator;

/**
 * @author fance
 * @date 18-4-26 下午4:30
 */
public abstract class AbstractCondiment extends Pancake {
    @Override
    public abstract String getName();
    public void sold() {
        System.out.println(getName() + " : " + getPrice());
    }
}
